package com.zjwd.basic.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.zjwd.common.annotation.Excel;
import com.zjwd.common.core.domain.BaseEntity;

/**
 * 基础通用报对象 basic_report
 * 
 * @author liquan
 * @date 2025-10-11
 */
public class BasicReport extends BaseEntity {

    private static final long serialVersionUID = 1L;

    /** 自增主键 */
    private Integer id;

    /** 报表类型 */
    @Excel(name = "报表类型", dictType = "pro_report_type")
    private String reportType;

    /** 报表名称 */
    @Excel(name = "报表名称")
    private String reportName;

    /** 报表路径 */
    @Excel(name = "报表路径")
    private String reportUrl;

    /** 报表状态（0显示 1隐藏） */
    @Excel(name = "报表状态", readConverterExp = "0=显示,1=隐藏")
    private String reportVisible;

    /** 报表排序 */
    @Excel(name = "报表排序")
    private Long reportOrder;

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getId() {
        return id;
    }
    public void setReportType(String reportType) {
        this.reportType = reportType;
    }

    public String getReportType() {
        return reportType;
    }
    public void setReportName(String reportName) {
        this.reportName = reportName;
    }

    public String getReportName() {
        return reportName;
    }
    public void setReportUrl(String reportUrl) {
        this.reportUrl = reportUrl;
    }

    public String getReportUrl() {
        return reportUrl;
    }
    public void setReportVisible(String reportVisible) {
        this.reportVisible = reportVisible;
    }

    public String getReportVisible() {
        return reportVisible;
    }
    public void setReportOrder(Long reportOrder) {
        this.reportOrder = reportOrder;
    }

    public Long getReportOrder() {
        return reportOrder;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("reportType", getReportType())
            .append("reportName", getReportName())
            .append("reportUrl", getReportUrl())
            .append("reportVisible", getReportVisible())
            .append("reportOrder", getReportOrder())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
